package com.alipay.lifeaccount.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 粉丝关注情况表
 * </p>
 *
 * @author 进击的Coder
 * @since 2019-01-12
 */
@TableName("ali_life_fan")
public class LifeFan extends Model<LifeFan> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id自增
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 生活号id
     */
	@TableField("life_account_id")
	private Integer lifeAccountId;
    /**
     * 关注状态(0取关 1关注)
     */
	@TableField("attention_status")
	private Integer attentionStatus;
    /**
     * 关注时间
     */
	@TableField("attention_time")
	private Integer attentionTime;
    /**
     * 状态
     */
	private Integer status;


	public Integer getId() {
		return id;
	}

	public LifeFan setId(Integer id) {
		this.id = id;
		return this;
	}

	public Integer getLifeAccountId() {
		return lifeAccountId;
	}

	public LifeFan setLifeAccountId(Integer lifeAccountId) {
		this.lifeAccountId = lifeAccountId;
		return this;
	}

	public Integer getAttentionStatus() {
		return attentionStatus;
	}

	public LifeFan setAttentionStatus(Integer attentionStatus) {
		this.attentionStatus = attentionStatus;
		return this;
	}

	public Integer getAttentionTime() {
		return attentionTime;
	}

	public LifeFan setAttentionTime(Integer attentionTime) {
		this.attentionTime = attentionTime;
		return this;
	}

	public Integer getStatus() {
		return status;
	}

	public LifeFan setStatus(Integer status) {
		this.status = status;
		return this;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
